﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo03
{
    class Cat:Animal,ITree
    {
        public void Tree()
        {
            Console.WriteLine("猫在爬树");

        }

        public override void eat()
        {
            Console.WriteLine("猫在吃饭");
        }

    }
}
